package org.cancer.hadesdata.runner;

import org.cancer.hadesdata.service.FileService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

@Component
public class InitRunner implements CommandLineRunner {

	@Autowired
	private FileService fileSourceService;
	@Override
	public void run(String... args) throws Exception {
		fileSourceService.findById("0");
	}

}
